package com.xhlj.service;

import com.xhlj.entity.Rule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhlj.utils.PayLoad;
import com.xhlj.utils.Result;

/**
* @author dell
* @description 针对表【rule】的数据库操作Service
* @createDate 2024-03-01 10:38:12
*/
public interface RuleService extends IService<Rule> {

    Result getList();
    void initDailyTaskStatus(PayLoad payLoad);
    Result completeDaily(Integer ruleId);

    Result completeTask(Integer ruleId);

    boolean updatePoint(Integer point);
}
